package com.ioc.trade.dao;

import com.ioc.common.dao.BaseRepository;
import com.ioc.trade.entity.OrderDetail;
import org.springframework.data.repository.RepositoryDefinition;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = OrderDetail.class, idClass = Long.class)
public interface OrderDetailRepository extends BaseRepository<OrderDetail, Long> {

    OrderDetail findBySerialNum(String serialNum);

    OrderDetail findByExternalNum(String externalNum);

}
